package com.dff.jrfw.model;

import com.google.gson.annotations.SerializedName;

public class PasswordStrategyModel {
    @SerializedName("alertDay")
    private int alertDay;//提示修改密码天数
    @SerializedName("createdTime")
    private String createdTime;//创建时间
    @SerializedName("creator")
    private String creator;//创建人
    @SerializedName("id")
    private String id;//密码策略id
    @SerializedName("isEnable")
    private int isEnable;//是否启用(0:未启用,1:启用)
    @SerializedName("isUnlock")
    private int isUnlock;//锁定用户日末自动解锁
    @SerializedName("lockTime")
    private int lockTime;//锁定时间(分钟)
    @SerializedName("loginFailCount")
    private int loginFailCount;//登录失败次数
    @SerializedName("maxLength")
    private int maxLength;//密码长度最大值
    @SerializedName("minLength")
    private int minLength;//密码长度最小值
    @SerializedName("passwordCycle")
    private int passwordCycle;//提示修改密码周期
    @SerializedName("passwordStrength")
    private String passwordStrength;//密码强度（1:弱,2:中（包含数字和字母）,3:强(数字、字母大小写混合)）
    @SerializedName("sameCount")
    private int sameCount;//密码相同次数最大值
    @SerializedName("strategyName")
    private String strategyName;//密码策略名
    @SerializedName("updatedTime")
    private String updatedTime;//修改时间
    @SerializedName("updater")
    private String updater;//修改人

    public int getAlertDay() {
        return alertDay;
    }

    public void setAlertDay(int alertDay) {
        this.alertDay = alertDay;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(int isEnable) {
        this.isEnable = isEnable;
    }

    public int getIsUnlock() {
        return isUnlock;
    }

    public void setIsUnlock(int isUnlock) {
        this.isUnlock = isUnlock;
    }

    public int getLockTime() {
        return lockTime;
    }

    public void setLockTime(int lockTime) {
        this.lockTime = lockTime;
    }

    public int getLoginFailCount() {
        return loginFailCount;
    }

    public void setLoginFailCount(int loginFailCount) {
        this.loginFailCount = loginFailCount;
    }

    public int getMaxLength() {
        return maxLength;
    }

    public void setMaxLength(int maxLength) {
        this.maxLength = maxLength;
    }

    public int getMinLength() {
        return minLength;
    }

    public void setMinLength(int minLength) {
        this.minLength = minLength;
    }

    public int getPasswordCycle() {
        return passwordCycle;
    }

    public void setPasswordCycle(int passwordCycle) {
        this.passwordCycle = passwordCycle;
    }

    public String getPasswordStrength() {
        return passwordStrength;
    }

    public void setPasswordStrength(String passwordStrength) {
        this.passwordStrength = passwordStrength;
    }

    public int getSameCount() {
        return sameCount;
    }

    public void setSameCount(int sameCount) {
        this.sameCount = sameCount;
    }

    public String getStrategyName() {
        return strategyName;
    }

    public void setStrategyName(String strategyName) {
        this.strategyName = strategyName;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    @Override
    public String toString() {
        return "PasswordStrategyModel{" +
                "alertDay=" + alertDay +
                ", createdTime='" + createdTime + '\'' +
                ", creator='" + creator + '\'' +
                ", id='" + id + '\'' +
                ", isEnable=" + isEnable +
                ", isUnlock=" + isUnlock +
                ", lockTime=" + lockTime +
                ", loginFailCount=" + loginFailCount +
                ", maxLength=" + maxLength +
                ", minLength=" + minLength +
                ", passwordCycle=" + passwordCycle +
                ", passwordStrength='" + passwordStrength + '\'' +
                ", sameCount=" + sameCount +
                ", strategyName='" + strategyName + '\'' +
                ", updatedTime='" + updatedTime + '\'' +
                ", updater='" + updater + '\'' +
                '}';
    }
}
